import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from "axios";
import VueAxios from "vue-axios";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

//设置网络请求的IP地址! !!  基础链接

axios.defaults.baseURL = "http://localhost:8080"
axios.defaults.headers.common [' Content-Type'] = 'application/x-www-form-urlencoded';

Vue.use(ElementUI)
Vue.use(VueAxios, axios)

Vue.config.productionTip = false
new Vue({
    router,
    render: h => h(App)
}).$mount('#app')
